package git.soulbgm;

import git.soulbgm.utils.ByteUtil;

/**
 * @author SoulBGM
 * @version 1.0
 * @date 2019/11/12 13:30
 */
public class App {

    public static void main(String[] args) {
        String hex = ByteUtil.decimalToHexadecimal(1);
        System.out.println(hex);
        System.out.println(ByteUtil.hexadecimalToDecimalInteger(hex));
        byte[] bytes = "1".getBytes();
        System.out.println(ByteUtil.changeDecimalInteger(bytes, 0, 1));
    }

}
